package com.zmm.book.keep.model;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 月账单
 * @author 900045
 * @description:
 * @name MonthBill
 * @date By 2021-10-28 11:48:19
 */
@Data
public class MonthBill implements Serializable {
	private static final long serialVersionUID = 4619761269908451157L;

	/**
	 *	`task_id` int(11) NOT NULL AUTO_INCREMENT,
	 *	`month` varchar(10) DEFAULT NULL,
	 *	`consume` decimal(7,2) DEFAULT '0.00' COMMENT '消费',
	 *	`income` decimal(7,2) DEFAULT NULL COMMENT '收入',
	 *	`stock` decimal(7,2) DEFAULT NULL COMMENT '股票',
	 *	`fund` decimal(7,2) DEFAULT NULL COMMENT '基金',
	 *	`consumePoint` decimal(5,2) DEFAULT NULL COMMENT '消费百分比',
	 *	`fundPoint` decimal(7,2) DEFAULT NULL COMMENT '基金占比',
	 *	`stockPoint` decimal(7,2) DEFAULT NULL COMMENT '股票占比',
	 * 	`describe` varchar(20) DEFAULT NULL COMMENT '描述',
	 */
	
	private Integer taskId;
	
	private Integer customerId;
	
	private String month;

	/**
	 * 生活消费  type =1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 20, 29
	 */
	private BigDecimal lifeConsume;

	/**
	 * 收入 --> form = 24
	 */
	private BigDecimal income;

	/**
	 * 保险 type = 17
	 */
	private BigDecimal insurance;

	/**
	 * 贷款 --> type = 26,28
	 */
	private BigDecimal loan;

	/**
	 * 消费占比 = 消费/收入 -- 
	 */
	private BigDecimal consumePoint;


	/**
	 * 保险占比
	 */
	private BigDecimal insurancePoint;
	
	/**
	 * 贷款占比
	 */
	private BigDecimal loanPoint;

	/**
	 * 余额收益
	 */
	private BigDecimal balanceYield;

	/**
	 * 股票收益 form = 22 --- form = 21
	 */
	private BigDecimal stockYield;

	/**
	 * 基金收益 form = 20 --- form = 19 
	 */
	private BigDecimal fundYield;

	/**
	 * 描述
	 */
	private String describe;
}
